package com.easy.service;

import com.easy.bean.Notification;
import com.easy.util.Page;

import java.util.List;

public interface NotificationService {
    Notification add(Notification notification);
    int del(Integer id);
    Notification edit(Notification notification);
    List<Notification> all(Notification notification);
    Notification one(Integer id);
    void page(Page page, Notification notification);
    void pageWithDetails(Page page, Notification notification);
}
